if (($result{'content-location'} ne "") && ($result{'content-location'} =~ /[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+/) && ($result{'content-location'} !~ /$TARGETS{$CURRENT_HOST_ID}{ip}/))
{
nprint("+ IIS may reveal its internal IP in the Content-Location header via a request to the root directory. The value is \"$result{'content-location'}\". CAN-2000-0649.");
}
LW::http_fixup_request(\%request);
LW::http_reset();
delete $request{'whisker'}{'Host'};
delete $request{'Host'};
$request{'whisker'}->{'uri'}="/images";
$request{'whisker'}->{'method'}="GET";
$request{'whisker'}{'version'}="1.0";
LW::http_do_request(\%request,\%result);
if (($result{'location'} ne "") && ($result{'location'} =~ /[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+/) && ($result{'location'} !~ /$TARGETS{$CURRENT_HOST_ID}{ip}/))
{
nprint("+ OSVDB-630: IIS may reveal its internal IP in the Location header via a request to the /images directory. The value is \"$result{'location'}\". CAN-2000-0649.");